package cn.edu.scau.cmi.chenjia.composite.safe;

import java.util.HashSet;
import java.util.Set;

public class SafeOrganization {
	private String name;
	private String department;
	
	public SafeTeam st;
	public SafePerson sp;
	
	String doSomething() {
		return "I amd Safe Organization!!!";
	}
	
	SafeOrganization getParent() {
		return null;
	}
	
	
	public String getName() {
		return sp.getName();
	}

	public void setName(String name) {
		 sp.setName(name);;
	}
	
	public String getDepartment() {
		return st.getDepartment();
	}

	public void setDepartment(String department) {
		st.setDepartment(department);;
	}

}
